Security News
NIST Misses 2024 Deadline to Clear NVD Backlog
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
Script contains object expression. You can use it for configs, network packets, serialization format, etc.
const metavm = require('metavm');
const src = `({ field: 'value' });`;
const ms = metavm.createScript('Example', src);
console.log(ms);
Output:
MetaScript {
name: 'Example',
script: Script {},
context: {},
exports: { field: 'value' }
}
Script contains function expression. You can use it for api endpoints, domain logic stored in files or database, etc.
const metavm = require('metavm');
const src = `(a, b) => a + b;`;
const ms = metavm.createScript('Example', src);
console.log(ms);
Output:
MetaScript {
name: 'Example',
script: Script {},
context: {},
exports: [Function]
}
const metavm = require('.');
(async () => {
const ms = await metavm.readScript('./test/examples/simple.js');
console.log(ms);
})();
Output:
MetaScript {
name: 'simple',
script: Script {},
context: {},
exports: { field: 'value', add: [Function: add], sub: [Function: sub] }
}
Copyright (c) 2020-2023 Metarhia contributors.
Metavm is MIT licensed.
Metavm is a part of Metarhia technology stack.
FAQs
Metarhia script loader, node.js vm wrapper
The npm package metavm receives a total of 102 weekly downloads. As such, metavm popularity was classified as not popular.
We found that metavm demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.